<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // function def1(){
    //     alert('hello!hello!!')
    // }
    // def1()
    // let result = function Sum(){
    //     // 1-100数字和
    //     sum = 0
    //     for(i = 1;i <= 100;i++){
    //         sum += i
    //     }
    //     return sum
    // }
    // console.log(result())

    let a = function(){
        console.log(arguments)
    }
    a()
    a(1,2,3)

</script>
</html>